﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSEngine
{
    public class SpaceColor
    {
        string sym;

        private SpaceColor(string symbol)
        {
            sym = symbol;
        }

        public static readonly SpaceColor EMPTY = new SpaceColor("-");
        public static readonly SpaceColor BLACK = new SpaceColor("@");
        public static readonly SpaceColor WHITE = new SpaceColor("O");

        // Lazily added for backwards-compatibility with revisions ealier than 140
        public SpaceColor Color
        {
            get { return this; }
        }

        public string Symbol
        {
            get { return sym; }
        }

        public override string ToString()
        {
            return sym;
        }
    }
}
